Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop using deprecated Hooks::isDisambiguationPage() method #139

Merged
merged 1 commit into from
Feb 3, 2024

Conversation

cscott
Copy link
Contributor

@cscott cscott commented Feb 2, 2024

This method is being removed from Extension:Disambiguator in
https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Disambiguator/+/995218

@lens0021 lens0021 merged commit a0c7370 into femiwiki:main Feb 3, 2024
8 checks passed
wmfgerrit pushed a commit to wikimedia/mediawiki-extensions-Disambiguator that referenced this pull request Feb 7, 2024
The only production user of the deprecated
Hooks::isDisambiguationPage() method is the RelatedArticles extension;
the 'depends-on' patch here tweaks it to use the DisambiguatorLookup
service instead.

A similar patch to fix up a 3rd-party extension is at:
femiwiki/UnifiedExtensionForFemiwiki#139

This continues the slow cleanup moving to injected services from
globals.

Depends-On: Id2a10f2f1be0e38ddb8ebef5d5babb3daac3ce9a
Change-Id: I7f74c0c6347e7c5fea10c49aef665558762711d0
wmfgerrit pushed a commit to wikimedia/mediawiki-extensions that referenced this pull request Feb 7, 2024
* Update Disambiguator from branch 'master'
  to 8147701f1a287b4a4302b42e4d09c6b3510aace6
  - Merge "Use injected Lookup service; remove deprecated method"
  - Use injected Lookup service; remove deprecated method
    
    The only production user of the deprecated
    Hooks::isDisambiguationPage() method is the RelatedArticles extension;
    the 'depends-on' patch here tweaks it to use the DisambiguatorLookup
    service instead.
    
    A similar patch to fix up a 3rd-party extension is at:
    femiwiki/UnifiedExtensionForFemiwiki#139
    
    This continues the slow cleanup moving to injected services from
    globals.
    
    Depends-On: Id2a10f2f1be0e38ddb8ebef5d5babb3daac3ce9a
    Change-Id: I7f74c0c6347e7c5fea10c49aef665558762711d0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants